/**
 * ClassName: Exer02
 * Package: PACKAGE_NAME
 * Description:定义三个类，父类GeometricObject代表几何形状，子类Circle代表圆形，MyRectangle代表矩形。
 * 定义一个测试类GeometricTest，编写equalsArea方法测试两个对象的面积是否相等（注意方法的参数类型，利用动态绑定技术），
 * 编写displayGeometricObject方法显示对象的面积（注意方法的参数类型，利用动态绑定技术）。
 *
 * @Author fjorid
 * @Create 2025/2/24 20:58
 * @Version 1.0
 */
public class Exer02 {
}
class GeometricObject{

    protected String color;
    protected double weight;
    public GeometricObject(String color,double weight){

    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }
    public double findRArea(){
        return 0.0;
    }
}
class Circle extends GeometricObject{
    public  double radius;

    public Circle(String color, double weight,double radius) {
        super(color, weight);
    }

}
